package com.shopx.cm.dao.db1;

import com.shopx.cm.bean.CmSendRemark;
import com.shopx.cm.model.CmSendRemarkModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;

/**
 * TODO
 *
 * @author lituo
 * @className: CmSendRemark
 * @date 2025-01-15
 */
@SqlMapper
public interface CmSendRemarkDao {
    /**
     * 查询明细记录
     *
     * @param cmSendRemark
     * @return CmSendRemarkModel
     * @author lituo
     * @date 2025-01-15
     */
    CmSendRemarkModel selectByPrimaryKey(CmSendRemark cmSendRemark);

    /**
     * 新增记录
     *
     * @param cmSendRemark
     * @return int
     * @author lituo
     * @date 2025-01-15
     */
    int insertSelective(CmSendRemark cmSendRemark);

    /**
     * 修改记录
     *
     * @param cmSendRemark
     * @return int
     * @author lituo
     * @date 2025-01-15
     */
    int updateByPrimaryKeySelective(CmSendRemark cmSendRemark);

    /**
     * 根据关键信息调整
     * @param cmSendRemark
     * @return
     */
    int updateByKey(CmSendRemark cmSendRemark);

    /**
     * 删除记录
     *
     * @param cmSendRemark
     * @return int
     * @author lituo
     * @date 2025-01-15
     */
    int deleteByPrimaryKey(CmSendRemark cmSendRemark);

    /**
     * 查询总记录数
     *
     * @param cmSendRemark
     * @return int
     * @author lituo
     * @date 2025-01-15
     */
    int selectCount(CmSendRemarkModel cmSendRemark);

    /**
     * 查询列表
     *
     * @param cmSendRemark
     * @return List<CmSendRemarkModel>
     * @author lituo
     * @date 2025-01-15
     */
    List<CmSendRemarkModel> selectList(CmSendRemarkModel cmSendRemark);
}

